package com.eduadmin.mapper;

import com.eduadmin.entity.Semester;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface SemesterMapper {
    //hgm 批量导入学期
    int insertSemeters(List<Semester> semesters);

    // zlc： 获得所有的学期信息
    List<Semester> getAllSemester();
    //hgm 根据名字查学期
    Semester selectSemesterByName(String semesterName);
    //int deleteByPrimaryKey(Integer semesterId);


    //int insertSelective(Semester record);

    //Semester selectByPrimaryKey(Integer semesterId);

    //int updateByPrimaryKeySelective(Semester record);

    //int updateByPrimaryKey(Semester record);
}